projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396563e
)
remote-refs: Add NULL terminator to options array
author
Colin Walters
<walters@verbum.org>
Fri, 28 Oct 2016 13:32:02 +0000
(09:32 -0400)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Fri, 28 Oct 2016 17:47:50 +0000
(17:47 +0000)
Caught by `-fsanitize=undefined`.
Closes: #552
Approved by: jlebon
src/ostree/ot-remote-builtin-refs.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-remote-builtin-refs.c
b/src/ostree/ot-remote-builtin-refs.c
index da3bcbb9a7f7e9914e1eae609c9be40b15c53a54..4317c45fb6cee907760cc96dfae21e80540c68be 100644
(file)
--- a/
src/ostree/ot-remote-builtin-refs.c
+++ b/
src/ostree/ot-remote-builtin-refs.c
@@
-29,6
+29,7
@@
static char* opt_cache_dir;
static GOptionEntry option_entries[] = {
{ "cache-dir", 0, 0, G_OPTION_ARG_STRING, &opt_cache_dir, "Use custom cache dir", NULL },
+ { NULL }
};
gboolean